<?php $this->load->view('header');?>

<div class="container">
    <div class="row mt ">
        <div class="col-lg-12 ">
            <h4 class="centered"> MODAL </h4>
            <p class="centered">( open in modal window )</p>
            <div id="cropContainerModal"></div>
        </div>
    </div>
</div>

<script>
    var croppicContainerModalOptions = {
        uploadUrl:'<?php echo site_url("buyer/img_save_to_file");?>',
        cropUrl:'<?php echo site_url("buyer/img_crop_to_file");?>',
        modal:true,
        imgEyecandyOpacity:0.4,
        loaderHtml:'<div class="loader bubblingG"><span id="bubblingG_1"></span><span id="bubblingG_2"></span><span id="bubblingG_3"></span></div> '
    }
    var cropContainerModal = new Croppic('cropContainerModal', croppicContainerModalOptions);
</script>

<?php $this->load->view('footer');?>

